package com.nbst.model.mes;

import java.util.Date;

import com.nbst.model.base.OrderBy;

/**
 * 仓库发料出库记录补充
 * 
 * @ClassName: ItemOutStockBatch
 * @Description:
 * @author King
 * @date 2018年12月24日
 *
 */
public class ItemOutStockBatch extends OrderBy {

	/** id */
	private Integer id;

	/** MES出库单id */
	private Integer fOutStockId;

	/** ERP库存批次号 */
	private String fBatchNo;

	/** MES出库单分录号 */
	private Integer fOutStockEntryId;

	/** 本次记录领取数量 */
	private Double fQty;
	
	/** 本次记录领取数量 */
	private Double fAuxQty;

	/** ERP原本记录数量 */
	private Double fOldQty;

	/** 关闭标志 0关闭 */
	private Integer fColsed;

	/** 时间 */
	private Date fDate;

	/** 仓库id */
	private Integer fStockID;

	/** 物料内码 */
	private Integer fItemID;

	/** 本次归还数（只针对工装夹具领用） */
	private Double fInQty;
	private Double flInQty;
	
	/**单位*/
	private Integer fUnitID;
	
	/**物料代码*/
	private String fNumber;
	
	/**物料名称*/
	private String fName;
	
	/**规格型号*/
	private String fModel;

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Integer getfOutStockId() {
		return fOutStockId;
	}

	public void setfOutStockId(Integer fOutStockId) {
		this.fOutStockId = fOutStockId;
	}

	public String getfBatchNo() {
		return fBatchNo;
	}

	public void setfBatchNo(String fBatchNo) {
		this.fBatchNo = fBatchNo == null ? null : fBatchNo.trim();
	}

	public Integer getfOutStockEntryId() {
		return fOutStockEntryId;
	}

	public void setfOutStockEntryId(Integer fOutStockEntryId) {
		this.fOutStockEntryId = fOutStockEntryId;
	}

	public Double getfQty() {
		return fQty;
	}

	public void setfQty(Double fQty) {
		this.fQty = fQty;
	}

	public Double getfOldQty() {
		return fOldQty;
	}

	public void setfOldQty(Double fOldQty) {
		this.fOldQty = fOldQty;
	}

	public Integer getfColsed() {
		return fColsed;
	}

	public void setfColsed(Integer fColsed) {
		this.fColsed = fColsed;
	}

	public Date getfDate() {
		return fDate;
	}

	public void setfDate(Date fDate) {
		this.fDate = fDate;
	}

	public Integer getfStockID() {
		return fStockID;
	}

	public void setfStockID(Integer fStockID) {
		this.fStockID = fStockID;
	}

	public Integer getfItemID() {
		return fItemID;
	}

	public void setfItemID(Integer fItemID) {
		this.fItemID = fItemID;
	}

	public Double getfInQty() {
		return fInQty;
	}

	public void setfInQty(Double fInQty) {
		this.fInQty = fInQty;
	}

	public Double getFlInQty() {
		return flInQty;
	}

	public void setFlInQty(Double flInQty) {
		this.flInQty = flInQty;
	}

	public Integer getfUnitID() {
		return fUnitID;
	}

	public void setfUnitID(Integer fUnitID) {
		this.fUnitID = fUnitID;
	}

	public String getfNumber() {
		return fNumber;
	}

	public void setfNumber(String fNumber) {
		this.fNumber = fNumber;
	}

	public String getfName() {
		return fName;
	}

	public void setfName(String fName) {
		this.fName = fName;
	}

	public String getfModel() {
		return fModel;
	}

	public void setfModel(String fModel) {
		this.fModel = fModel;
	}

	public Double getfAuxQty() {
		return fAuxQty;
	}

	public void setfAuxQty(Double fAuxQty) {
		this.fAuxQty = fAuxQty;
	}

	@Override
	public String toString() {
		return "ItemOutStockBatch [id=" + id + ", fOutStockId=" + fOutStockId + ", fBatchNo=" + fBatchNo
				+ ", fOutStockEntryId=" + fOutStockEntryId + ", fQty=" + fQty + ", fAuxQty=" + fAuxQty + ", fOldQty="
				+ fOldQty + ", fColsed=" + fColsed + ", fDate=" + fDate + ", fStockID=" + fStockID + ", fItemID="
				+ fItemID + ", fInQty=" + fInQty + ", flInQty=" + flInQty + ", fUnitID=" + fUnitID + ", fNumber="
				+ fNumber + ", fName=" + fName + ", fModel=" + fModel + "]";
	}
}